package com.codrim.cs.data.rpc.dto.param;

import com.codrim.cs.data.rpc.enums.SelectGroupByAndOrderBy;

import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 广告报表 DTO
 *
 * @author liao.zhang
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AffiliateReportParamDTO extends ReportBaseParamDTO {
    private List<Integer> advertiserIds;
    private List<Integer> affAdvertiserManagerIdList;
    private Integer affAdvertiserManagerId;
    private List<Integer> affDepartmentIds;


    public enum AffiliateOfferReportGroupByField {
        Sdate,
        Offer,
        Advertiser,
        AffiliateSource,
        AffAdvertiserManager,
        Sub1,
        Sub2,
        Sub3,
        Sub4,
        Sub5,
    }

    public enum AffiliateOfferReportField implements SelectGroupByAndOrderBy {
        Sdate,
        Advertiser,
        Offer,
        AffAdvertiserManager,
        AffiliateSource,
        Sub1,
        Sub2,
        Sub3,
        Sub4,
        Sub5,
        Clicks,
        UniqueClicks,
        GrossConversions,
        Revenue,
        Cost,
        Conversions,
        ScrubbedConversions,
        Caps
    }
}
